<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : Pair</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='Pair::Pair'>Pair</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li>Object</li></ul>
</section>

<section class="interfaces">
<h2>Implemented interfaces:</h2>
<ul>
<li><a href='Comparable.html#Comparable::Comparable'>Comparable</a></li>
</ul>
</section>

</section>

<section id="summary">

 A pair of dynamic tree nodes that is comparable.
</section>

<section id="fields">
<h2>Fields</h2>
<dl>
<dt>
<span class="field-type"><code><code><a href='DynamicTreeNode.html#DynamicTreeNode::DynamicTreeNode'>DynamicTreeNode</a></code></code></span>
<span class="field-name"><code><a name='Pair::proxyA'>proxyA
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='DynamicTreeNode.html#DynamicTreeNode::DynamicTreeNode'>DynamicTreeNode</a></code></code></span>
<span class="field-name"><code><a name='Pair::proxyB'>proxyB
</a></code></span>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="constructors">
<h2>Constructors</h2>
<dl>
<dt>
<code><a href='Pair.html#Pair::Pair'>Pair</a>()</code>
</dt>
<dd>

 Constructs a new pair.
</dd>
</dl>
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code><code><a href='int.html#int::int'>int</a></code> <a name='Pair::compareTo'>compareTo</a>(<code><a href='Pair.html#Pair::Pair'>Pair</a></code> <a name='Pair::compareTo::pair2'>pair2</a>)</code></dt>
<dd>

 Compares this pair to the other pair. Returns a negative number if this
 pair is less, 0 if the pairs are equal, and a positive number if this pair
 is greater. Compared first on which proxyA is less and, in the case of a
 tie, on which proxyB is less.
</dd>
</dl>
</section>

<footer></footer>

</body></html>
